//
//  JFTRequest.h
//  JftMergeSDK
//
//  Created by zhl on 2017/2/10.
//  Copyright © 2017年 HLZ. All rights reserved.
//

#import <Foundation/Foundation.h>
@class JZMExceptionModel;
@interface JZMRequest : NSObject<NSURLSessionDelegate>
+(instancetype)requestManager;
-(void)getDataWithUrl:(NSURL *)url WithParameters:(NSDictionary *)parDictionary Sucessfil:(void (^)(id returnData))Sucessful failure:(void (^)(id failerObjc))failure error:(void(^)(NSError * err))errorBlock;
-(BOOL)ConnectedToNetwork;
-(NSString *)getNetWorkStates;
-(void)deviceWANIPAdress:(void(^)(NSString*returnCity)) ipBlock;
- (void)submitInfo:(JZMExceptionModel*)model andUrl:(NSString *)postUrl;
@end
